package pers.corvey.studyjava.model.json;

import pers.corvey.studyjava.util.ToStringUtils;

public class SearchResultJson {

    private String title;
    private String description;
    private String url;
    private String typeName;

    public SearchResultJson() {}
    
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    
    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        return ToStringUtils.objectToString(this);
    }
}
